package com.dtw.ditouwang.beans;

import java.util.List;

public class PhotoDetailBean {

    /**
     * flag : Success
     * msg : 查询成功!
     * result : true
     * data : {"article_info":{"id":2,"head":null,"nickname":"aaa","img":["dtw.qsccl.com/public/uploads/20181201\\4c8593b0bd56b71e2e2e0b7468fd9715.jpg","dtw.qsccl.com/public/uploads/20181201\\b556af317ccca1abf0219db760810a21.jpg"],"a_info":"第二篇文章","comments":0,"is_thumbs":0,"is_report":0},"comment":[{"a_id":3,"head":null,"nickname":"哈哈","info":"评论3","times":"2018-11-19 09:36","zan":5,"children":[]}]}
     */

    private String flag;
    private String msg;
    private boolean result;
    private DataBean data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * article_info : {"id":2,"head":null,"nickname":"aaa","img":["dtw.qsccl.com/public/uploads/20181201\\4c8593b0bd56b71e2e2e0b7468fd9715.jpg","dtw.qsccl.com/public/uploads/20181201\\b556af317ccca1abf0219db760810a21.jpg"],"a_info":"第二篇文章","comments":0,"is_thumbs":0,"is_report":0}
         * comment : [{"a_id":3,"head":null,"nickname":"哈哈","info":"评论3","times":"2018-11-19 09:36","zan":5,"children":[]}]
         */

        private ArticleInfoBean article_info;
        private List<CommentBean.DataBean> comment;

        public ArticleInfoBean getArticle_info() {
            return article_info;
        }

        public void setArticle_info(ArticleInfoBean article_info) {
            this.article_info = article_info;
        }

        public List<CommentBean.DataBean> getComment() {
            return comment;
        }

        public void setComment(List<CommentBean.DataBean> comment) {
            this.comment = comment;
        }

        public static class ArticleInfoBean {
            /**
             * id : 2
             * head : null
             * nickname : aaa
             * img : ["dtw.qsccl.com/public/uploads/20181201\\4c8593b0bd56b71e2e2e0b7468fd9715.jpg","dtw.qsccl.com/public/uploads/20181201\\b556af317ccca1abf0219db760810a21.jpg"]
             * a_info : 第二篇文章
             * comments : 0
             * is_thumbs : 0
             * is_report : 0
             */

            private int id;
            private Object head;
            private String nickname;
            private String a_info;
            private int comments;
            private int is_thumbs;
            private int is_collection;
            private int is_report;
            private List<String> img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public Object getHead() {
                return head;
            }

            public void setHead(Object head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getA_info() {
                return a_info;
            }

            public void setA_info(String a_info) {
                this.a_info = a_info;
            }

            public int getComments() {
                return comments;
            }

            public void setComments(int comments) {
                this.comments = comments;
            }

            public int getIs_thumbs() {
                return is_thumbs;
            }

            public void setIs_thumbs(int is_thumbs) {
                this.is_thumbs = is_thumbs;
            }

            public int getIs_report() {
                return is_report;
            }

            public void setIs_report(int is_report) {
                this.is_report = is_report;
            }

            public List<String> getImg() {
                return img;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }

            public int getIs_collection() {
                return is_collection;
            }

            public void setIs_collection(int is_collection) {
                this.is_collection = is_collection;
            }
        }
    }
}
